home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Brought to you by... / Source-n-stuff / Offscreen.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-28  |  628 b   |  23 lines  |  [TEXT/CWIE]

  1. #ifndef __QDOFFSCREEN__
  2. #include <QDOffscreen.h>
  3. #endif
  4.  
  5.  
  6. typedef struct WindowOffscreen {
  7.     GWorldPtr    mMacGWorld;
  8.     Rect        mBounds;
  9.     CGrafPtr    mSavePort;
  10.     GDHandle    mSaveDevice;
  11. } WindowOffscreen;
  12.  
  13.  
  14. WindowOffscreen *DrawOffscreen(const Rect *inBounds, WindowPtr theWindow);
  15. void DrawOnscreen(WindowOffscreen *theOffscreen);
  16. WindowOffscreen *DrawOffscreenNoInitialize(const Rect *inBounds, WindowPtr theWindow);
  17.  
  18. WindowOffscreen *DrawOffscreenSaved(WindowOffscreen *inOffscreen, const Rect *inBounds, WindowPtr theWindow);
  19. void DrawOnscreenSave(WindowOffscreen *theOffscreen);
  20. void DisposeOffscreen(WindowOffscreen *theOffscreen);
  21.  
  22.  
  23.